package com.fintech.third.model.moxie.carriesv2;

import java.io.Serializable;

/**
 * Created by zhangliang on 17/2/27.
 */
public class MXBasicInfo implements Serializable{

	private static final long serialVersionUID = 1L;

	private String key;

    private String value;
    
    public static class MXBasicInfoBuilder {

        private MXBasicInfo basicInfo;

        public MXBasicInfoBuilder() {
            this.basicInfo = new MXBasicInfo();
        }

        public static MXBasicInfoBuilder newBuilder() {
            return new MXBasicInfoBuilder();
        }

        public MXBasicInfoBuilder withKey(String key) {
            basicInfo.key = key;
            return this;
        }

        public MXBasicInfoBuilder withValue(String value) {
            basicInfo.value = value;
            return this;
        }

        public MXBasicInfo build() {
            return basicInfo;
        }
    }

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}
